package com.example.doer.reading.AppDataModel;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by 严旭江 on 2017/7/17.
 */

//话题
public class Theme implements Serializable{
    //话题  用户自定义
    //ID name desc logo  FoucusNum questionNum
    /**
     * 话题还应有Topic 与 topic对应的TopicReply
     */
    private String themeID;//话题对应的ID --------->数据库主键
    private String themeName;//话题的名字
    private String themeDescription;//话题的描述
    private String themeLogoPath;//话题的头像LOGO
    private int themeFocusNum;//话题的被关注的数量
    private int questionNumOfTheme;//话题中用户提问的问题数量
    private List<Topic> topicList = new ArrayList<Topic>();

    public Theme(String theThemeName, String theLogoPath){
        this.themeName = theThemeName;
        this.themeLogoPath = theLogoPath;
    }
    public Theme(){

    }    public Theme(String themeID, String themeName,
                 String themeDescription, String themeLogoPath,
                 int themeFocusNum, int questionNumOfTheme, List<Topic> topicList) {
        this.themeID = themeID;
        this.themeName = themeName;
        this.themeDescription = themeDescription;
        this.themeLogoPath = themeLogoPath;
        this.themeFocusNum = themeFocusNum;
        this.questionNumOfTheme = questionNumOfTheme;
        this.topicList = topicList;
    }
    public List<Topic> getTopicList() {
        return topicList;
    }
    public void setTopicList(List<Topic> topicList) {
        this.topicList = topicList;
    }
    public String getThemeID() {
        return themeID;
    }
    public void setThemeID(String themeID) {
        this.themeID = themeID;
    }
    public String getThemeName() {
        return themeName;
    }
    public void setThemeName(String themeName) {
        this.themeName = themeName;
    }
    public String getThemeDescription() {
        return themeDescription;
    }
    public void setThemeDescription(String themeDescription) {
        this.themeDescription = themeDescription;
    }

    public String getThemeLogoPath() {
        return themeLogoPath;
    }

    public void setThemeLogoPath(String themeLogoPath) {
        this.themeLogoPath = themeLogoPath;
    }

    public int getThemeFocusNum() {
        return themeFocusNum;
    }

    public void setThemeFocusNum(int themeFocusNum) {
        this.themeFocusNum = themeFocusNum;
    }

    public int getQuestionNumOfTheme() {
        return questionNumOfTheme;
    }

    public void setQuestionNumOfTheme(int questionNumOfTheme) {
        this.questionNumOfTheme = questionNumOfTheme;
    }
}
